import checkerPlugin from 'vite-plugin-checker';

export default () => {
  return checkerPlugin({
    eslint: {
      lintCommand: 'eslint \'./src/**/*.{ts,tsx,vue}\'',
      useFlatConfig: true,
    },
    enableBuild: false,
  });
};
